<?php


class Auth_Form {

	// Données membres de la classe
	protected $auth;
  
  
	// Constructeur
	public function __construct(Auth $auth) {
		$this->auth = $auth;
	}
  
	public function makeConnectionForm($urlAction) {
  
  
		$html = <<<EOT
  
	  	<div id="connectform" class="lightboxform">
		  <h2>Se connecter</h2>
		  <form action="{$urlAction}" method="post"> 
			  <div>
				  <p id="rep_connex" class="merreur"></p>
				  <label for="mailconnect"><strong>E-mail</strong></label><input type="text" id="mailconnect" name="mail" value="" />
				  <label for="passwdconnect"><strong>Mot de passe</strong></label><input type="password" id="passwdconnect" name="passwd" value=""/>
				  <div class="submit"><input type="submit" name="connexion" value="Valider" /></div>
			  </div>
		  </form>
	  </div>
EOT;
  
	  	return $html;
	}
}

?>
